from sqlalchemy import create_engine
from sqlmodel import SQLModel, Session

sqlite_file_name = "./resources/sqlModel"
sqlite_url = f"sqlite:///{sqlite_file_name}"

engine = create_engine(sqlite_url, echo=True)


def create_db_and_tables():
    SQLModel.metadata.create_all(engine)


session = Session(engine)
